/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2024-10-16
 * Time: 17:19
 */
public class Test {
    public static void main(String[] args) {
        String str = "afsd=fasd&rafds=weaf";
        String[] arr = str.split("&");
        for (String X:arr) {
            String[] arr2 = X.split("=");
            for(String y :arr2){
                System.out.println(y);
            }
        }
    }
    public static void main1(String[] args) {
        String s = String.format("%d-%d----%d-%s", 2019, 9,14,'s');
        System.out.println(s);
    }
}
